package kr.pe.johnkim.pushchat.mobile.dao;

import kr.pe.johnkim.pushchat.mobile.domain.PushChatAnnouncement;

import java.util.List;

/**
 * @author : John_Kim <cale9797@gmail.com>
 * @date : 13. 9. 13.
 */
public interface PushChatAnnouncementDao {

    /**
     * 공지사항을 등록 한다.
     *
     * @param pushChatAnnouncement
     */
    public void registerAnnouncement(PushChatAnnouncement pushChatAnnouncement);

    /**
     * 공지사항 목록을 가져 온다.
     *
     * @param pushChatAnnouncement
     * @return
     */
    public List<PushChatAnnouncement> selectAnnouncementList(PushChatAnnouncement pushChatAnnouncement);

    /**
     * 공지사항 상세 내용을 가져 온다.
     *
     * @param pushChatAnnouncement
     * @return
     */
    public PushChatAnnouncement selectAnnouncementInformation(PushChatAnnouncement pushChatAnnouncement);

    /**
     * 공지사항을 수정 한다.
     *
     * @param pushChatAnnouncement
     */
    public void updateAnnouncement(PushChatAnnouncement pushChatAnnouncement);

    /**
     * 공지사항을 비활성화 한다.
     *
     * @param pushChatAnnouncement
     */
    public void updateDeactivateAnnouncement(PushChatAnnouncement pushChatAnnouncement);
}
